from django.conf.urls import url,include
from rest_framework.routers import DefaultRouter
from . import views


urlpatterns = [
    # url(r'^',include(router.urls))
]

router = DefaultRouter()
router.register(r'infos', views.AreaView, base_name='area')
# 添加省市区信息查询路由
urlpatterns += router.urls